home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
util
/
boot
/
cv101.lha
/
Install
< prev
next >
Wrap
Text File
|
1995-08-13
|
2KB
|
153 lines
;$VER: Install 1.01 (06.08.1995) (C) Copyright Tomi Blinnikka
(complete 0)
(set action
(askchoice
(prompt "Please choose action:")
(help "You can either install or remove CheckVal with this utility.\n\n" @askchoice-help)
(choices "Install" "Remove")
(default 0)
)
)
(if (= action 0)
(
(set CV-dest
(askdir
(prompt "In which drawer should CheckVal be installed?")
(help @askdir-help)
(default "SYS:C")
)
)
(set @default-dest CV-dest)
(complete 35)
(copyfiles
(source "CheckVal/CheckVal")
(dest CV-dest)
(prompt "Copying main program to "cv-dest".")
(help @copyfiles-help)
(infos)
(confirm)
)
(complete 56)
(set CVguide-dest
(askdir
(prompt "Where should the AmigaGuide document be installed?")
(help @askdir-help)
(default "Guide:")
)
)
(complete 65)
(copyfiles
(source "CheckVal/CheckVal.guide")
(dest CVguide-dest)
(help @copyfiles-help)
(infos)
)
(complete 96)
(message "Please add the following line to your S:StartUp-Sequence:\n\n"
(tackon CV-dest "CheckVal\n\n\n")
"or\n\n\n"
(tackon CV-dest "CheckVal AUTO")
)
(complete 100)
(exit)
))
(if (= action 1)
(
(set @abort-button "Abort Removal")
(complete 6)
(set name
(askdir
(prompt "Where is CheckVal installed?")
(help @askdir-help)
(default "SYS:C")
)
)
(complete 43)
(if (= (askbool
(prompt "Do you wish to delete the CheckVal program in the directory \"" name "\"?")
(help "Selecting 'Proceed' will destroy the the file 'CheckVal' in this directory.")
(choices "Proceed" "Skip This Part")
)
1)
(
(set file (cat "Delete \"" name "/CheckVal\""))
(run file)
)
)
(complete 87)
(if (= 2 (exists "Guide:" (noreq)))
(
(if (= (askbool
(prompt "Going to delete Guide:CheckVal.guide.\n\nAre you sure you want to continue?")
(help "Selecting 'Proceed' will destroy the specified file.")
(choices "Proceed" "Skip This Part")
)
1)
(
(run "Delete Guide:CheckVal.guide QUIET")
(run "Delete Guide:CheckVal.guide.info QUIET")
)
)
(complete 98)
)
)
(complete 99)
(message "Please remove this line from your S:StartUp-Sequence:\n\n"
(tackon name "CheckVal")
)
(complete 100)
(message "Removal Complete!\n\nCheckVal should now be removed from your system.")
(exit (quiet))
))